package cn.zhonghuanzhiyuan.sprc.basicinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 第三方单位人员(ThirdUnitEmployee)实体类
 *
 * @author david
 * @since 2024-02-27 18:53:52
 */
@Data
@Accessors(chain = true)
@Table(name = "third_unit_employee")
@ApiModel(value = "ThirdUnitEmployee", description = "第三方单位人员")
public class ThirdUnitEmployee implements Serializable {
    private static final long serialVersionUID = 241348124423699842L;
    /**
    * 编号
    */
    @ApiModelProperty(value = "编号")
    @Id
    private String id;
    /**
    * 第三方单位ID
    */
    @ApiModelProperty(value = "第三方单位ID")
    private String thirdUnitId;
    /**
    * 姓名
    */
    @ApiModelProperty(value = "姓名")
    private String name;
    /**
    * 人员编码
    */
    @ApiModelProperty(value = "人员编码")
    private String code;
    /**
    * 身份证号
    */
    @ApiModelProperty(value = "身份证号")
    private String idCode;
    /**
    * 年龄
    */
    @ApiModelProperty(value = "年龄")
    private Integer age;
    /**
    * 状态
    */
    @ApiModelProperty(value = "状态")
    private String status;
    /**
    * 黑名单原因
    */
    @ApiModelProperty(value = "黑名单原因")
    private String description;
    /**
    * 联系电话
    */
    @ApiModelProperty(value = "联系电话")
    private String phone;
    /**
    * 岗位名称
    */
    @ApiModelProperty(value = "岗位名称")
    private String position;
    /**
    * 是否高风险岗位
    */
    @ApiModelProperty(value = "是否高风险岗位")
    private Integer highRiskPosition;
    /**
    * 员工照片
    */
    @ApiModelProperty(value = "员工照片")
    private String picture;
    /**
    * 证书名称
    */
    @ApiModelProperty(value = "证书名称")
    private String certificateName;
    /**
    * 证书号码
    */
    @ApiModelProperty(value = "证书号码")
    private String certificateNumber;
    /**
    * 证书级别
    */
    @ApiModelProperty(value = "证书级别")
    private String certificateLevel;
    /**
    * 证书有效期起
    */
    @ApiModelProperty(value = "证书有效期起")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date certificateStartTime;
    /**
    * 证书有效期止
    */
    @ApiModelProperty(value = "证书有效期止")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date certificateEndTime;
    /**
    * 园区标识
    */
    @ApiModelProperty(value = "园区标识")
    private String parkId;
    /**
    * 所属单位
    */
    @ApiModelProperty(value = "所属单位")
    private String orgId;
    /**
    * 排序号
    */
    @ApiModelProperty(value = "排序号")
    private Integer sort;
    /**
    * 更新人
    */
    @ApiModelProperty(value = "更新人")
    private String updateUser;
    /**
    * 更新时间
    */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date updateTime;
    /**
    * 创建人
    */
    @ApiModelProperty(value = "创建人")
    private String createUser;
    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;

}
